package com.wust.smartcity.demo.server.common.enums;

/**
 * mqtt 主题列表
 */
public enum MqttTopicEnum {
    YINDE_SERVER_TO_LINK("YINDE/SERVERtoLINK/",1);

    MqttTopicEnum(String topic, int qos){
       this.topic = topic;
       this.qos = qos;
    }

    private String topic;
    private int qos;

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public int getQos() {
        return qos;
    }

    public void setQos(int qos) {
        this.qos = qos;
    }
}
